.class public Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter;
.super Lcom/estrongs/android/pop/app/filetransfer/adapter/AbsSelectFileAdapter;
.source "SdcardFileAdapter.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$e;,
        Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$f;
    }
.end annotation


# instance fields
.field private i:Landroidx/recyclerview/widget/LinearLayoutManager;

.field private j:Ljava/util/Stack;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Stack<",
            "Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$f;",
            ">;"
        }
    .end annotation
.end field

.field private k:Ljava/text/SimpleDateFormat;


# direct methods
.method public constructor <init>(Landroid/content/Context;Landroid/os/Handler;Ljava/lang/String;)V
    .locals 0

    .line 1
    invoke-direct {p0, p1, p2}, Lcom/estrongs/android/pop/app/filetransfer/adapter/AbsSelectFileAdapter;-><init>(Landroid/content/Context;Landroid/os/Handler;)V

    .line 2
    new-instance p1, Ljava/util/Stack;

    invoke-direct {p1}, Ljava/util/Stack;-><init>()V

    iput-object p1, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter;->j:Ljava/util/Stack;

    .line 3
    new-instance p1, Ljava/text/SimpleDateFormat;

    const-string p2, "yyyy-MM-dd"

    invoke-direct {p1, p2}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    iput-object p1, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter;->k:Ljava/text/SimpleDateFormat;

    const/4 p1, 0x0

    .line 4
    invoke-virtual {p0, p3, p1}, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter;->c(Ljava/lang/String;Z)V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter;->o()V

    return-void
.end method

.method private n()[I
    .locals 5

    const/4 v0, 0x2

    new-array v0, v0, [I

    .line 1
    iget-object v1, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter;->i:Landroidx/recyclerview/widget/LinearLayoutManager;

    const/4 v2, 0x1

    const/4 v3, 0x0

    if-nez v1, :cond_0

    aput v3, v0, v3

    aput v3, v0, v2

    return-object v0

    .line 2
    :cond_0
    invoke-virtual {v1, v3}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildAt(I)Landroid/view/View;

    move-result-object v1

    if-eqz v1, :cond_1

    .line 3
    iget-object v4, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter;->i:Landroidx/recyclerview/widget/LinearLayoutManager;

    invoke-virtual {v4, v1}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPosition(Landroid/view/View;)I

    move-result v4

    .line 4
    invoke-virtual {v1}, Landroid/view/View;->getTop()I

    move-result v1

    aput v4, v0, v3

    aput v1, v0, v2

    goto :goto_0

    :cond_1
    aput v3, v0, v3

    aput v3, v0, v2

    :goto_0
    return-object v0
.end method

.method private o()V
    .locals 2

    .line 1
    invoke-virtual {p0}, Lcom/estrongs/android/pop/app/filetransfer/adapter/AbsSelectFileAdapter;->j()V

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/AbsSelectFileAdapter;->d:Landroid/content/Context;

    instance-of v1, v0, Lcom/estrongs/android/pop/app/filetransfer/TransferFileSelectActivity;

    if-eqz v1, :cond_0

    .line 3
    check-cast v0, Lcom/estrongs/android/pop/app/filetransfer/TransferFileSelectActivity;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/filetransfer/TransferFileSelectActivity;->H()V

    :cond_0
    return-void
.end method


# virtual methods
.method protected a(Ljava/lang/String;Z)Ljava/util/List;
    .locals 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Z)",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;"
        }
    .end annotation

    .line 15
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 16
    :try_start_0
    new-instance v1, Lcom/estrongs/android/util/TypedMap;

    invoke-direct {v1}, Lcom/estrongs/android/util/TypedMap;-><init>()V

    const-string v2, "countChildren"

    const/4 v3, 0x1

    .line 17
    invoke-static {v3}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v4

    invoke-virtual {v1, v2, v4}, Lcom/estrongs/android/util/TypedMap;->put(Ljava/lang/String;Ljava/lang/Object;)Lcom/estrongs/android/util/TypedMap;

    .line 18
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v2

    invoke-virtual {v2}, Lcom/estrongs/android/pop/l;->k1()Z

    move-result v2

    .line 19
    new-instance v4, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$a;

    invoke-direct {v4, p0, v2}, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$a;-><init>(Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter;Z)V

    .line 20
    iget-object v2, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/AbsSelectFileAdapter;->e:Lcom/estrongs/fs/f;

    new-instance v5, Lcom/estrongs/fs/m;

    invoke-direct {v5, p1}, Lcom/estrongs/fs/m;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2, v5, p2, v4, v1}, Lcom/estrongs/fs/f;->a(Lcom/estrongs/fs/g;ZLcom/estrongs/fs/h;Lcom/estrongs/android/util/TypedMap;)Ljava/util/List;

    move-result-object v0

    .line 21
    new-instance p1, Les/t70;

    invoke-direct {p1, v3}, Les/t70;-><init>(Z)V

    invoke-static {v0, p1}, Ljava/util/Collections;->sort(Ljava/util/List;Ljava/util/Comparator;)V

    .line 22
    invoke-static {}, Les/mg;->f()Les/mg;

    move-result-object p1

    const-string p2, "analysis://"

    new-instance v1, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$b;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$b;-><init>(Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter;)V

    .line 23
    invoke-virtual {p1, p2, v0, v1}, Les/mg;->a(Ljava/lang/String;Ljava/util/List;Les/mg$p;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p1

    .line 24
    invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V

    :goto_0
    return-object v0
.end method

.method public a(Ljava/lang/String;ZLcom/estrongs/android/pop/app/filetransfer/adapter/AbsSelectFileAdapter$b;)V
    .locals 4

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter;->j:Ljava/util/Stack;

    invoke-virtual {v0}, Ljava/util/Stack;->isEmpty()Z

    move-result v0

    const/4 v1, 0x0

    if-nez v0, :cond_0

    .line 3
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter;->n()[I

    move-result-object v0

    .line 4
    iget-object v2, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter;->j:Ljava/util/Stack;

    invoke-virtual {v2}, Ljava/util/Stack;->peek()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$f;

    .line 5
    aget v3, v0, v1

    iput v3, v2, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$f;->b:I

    const/4 v3, 0x1

    .line 6
    aget v0, v0, v3

    iput v0, v2, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$f;->c:I

    .line 7
    :cond_0
    new-instance v0, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$f;

    const/4 v2, 0x0

    invoke-direct {v0, p0, v2}, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$f;-><init>(Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter;Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$a;)V

    .line 8
    iput-object p3, v0, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$f;->d:Lcom/estrongs/android/pop/app/filetransfer/adapter/AbsSelectFileAdapter$b;

    .line 9
    iput-object p1, v0, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$f;->a:Ljava/lang/String;

    .line 10
    iput v1, v0, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$f;->b:I

    .line 11
    iput v1, v0, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$f;->c:I

    .line 12
    iget-object p1, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter;->j:Ljava/util/Stack;

    invoke-virtual {p1, v0}, Ljava/util/Stack;->push(Ljava/lang/Object;)Ljava/lang/Object;

    .line 13
    invoke-virtual {p0, p2}, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter;->a(Z)V

    return-void
.end method

.method public a(Z)V
    .locals 1

    .line 14
    invoke-virtual {p0}, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter;->d()Ljava/lang/String;

    move-result-object v0

    invoke-super {p0, v0, p1}, Lcom/estrongs/android/pop/app/filetransfer/adapter/AbsSelectFileAdapter;->c(Ljava/lang/String;Z)V

    return-void
.end method

.method public c(Ljava/lang/String;Z)V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/AbsSelectFileAdapter;->h:Lcom/estrongs/android/pop/app/filetransfer/adapter/AbsSelectFileAdapter$b;

    invoke-virtual {p0, p1, p2, v0}, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter;->a(Ljava/lang/String;ZLcom/estrongs/android/pop/app/filetransfer/adapter/AbsSelectFileAdapter$b;)V

    return-void
.end method

.method public d()Ljava/lang/String;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter;->j:Ljava/util/Stack;

    invoke-virtual {v0}, Ljava/util/Stack;->peek()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$f;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$f;->a:Ljava/lang/String;

    return-object v0
.end method

.method public d(I)V
    .locals 1

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter;->j:Ljava/util/Stack;

    if-eqz v0, :cond_2

    invoke-virtual {v0}, Ljava/util/Stack;->size()I

    move-result v0

    if-gt v0, p1, :cond_0

    goto :goto_1

    .line 3
    :cond_0
    :goto_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter;->j:Ljava/util/Stack;

    invoke-virtual {v0}, Ljava/util/Stack;->size()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    if-le v0, p1, :cond_1

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter;->j:Ljava/util/Stack;

    invoke-virtual {v0}, Ljava/util/Stack;->pop()Ljava/lang/Object;

    goto :goto_0

    :cond_1
    const/4 p1, 0x0

    .line 5
    invoke-virtual {p0, p1}, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter;->a(Z)V

    :cond_2
    :goto_1
    return-void
.end method

.method public g()Z
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter;->j:Ljava/util/Stack;

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Ljava/util/Stack;->peek()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$f;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$f;->d:Lcom/estrongs/android/pop/app/filetransfer/adapter/AbsSelectFileAdapter$b;

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    return v0
.end method

.method public l()Z
    .locals 3

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter;->j:Ljava/util/Stack;

    const/4 v1, 0x0

    if-eqz v0, :cond_1

    invoke-virtual {v0}, Ljava/util/Stack;->isEmpty()Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter;->j:Ljava/util/Stack;

    invoke-virtual {v0}, Ljava/util/Stack;->size()I

    move-result v0

    const/4 v2, 0x1

    if-ne v0, v2, :cond_0

    goto :goto_0

    .line 2
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter;->j:Ljava/util/Stack;

    invoke-virtual {v0}, Ljava/util/Stack;->pop()Ljava/lang/Object;

    .line 3
    invoke-virtual {p0, v1}, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter;->a(Z)V

    return v2

    :cond_1
    :goto_0
    return v1
.end method

.method public m()V
    .locals 3

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter;->i:Landroidx/recyclerview/widget/LinearLayoutManager;

    if-nez v0, :cond_0

    return-void

    .line 2
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter;->j:Ljava/util/Stack;

    invoke-virtual {v0}, Ljava/util/Stack;->peek()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$f;

    iget v0, v0, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$f;->b:I

    .line 3
    iget-object v1, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter;->j:Ljava/util/Stack;

    invoke-virtual {v1}, Ljava/util/Stack;->peek()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$f;

    iget v1, v1, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$f;->c:I

    .line 4
    iget-object v2, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter;->i:Landroidx/recyclerview/widget/LinearLayoutManager;

    invoke-virtual {v2, v0, v1}, Landroidx/recyclerview/widget/LinearLayoutManager;->scrollToPositionWithOffset(II)V

    return-void
.end method

.method public onAttachedToRecyclerView(Landroidx/recyclerview/widget/RecyclerView;)V
    .locals 1

    .line 1
    invoke-super {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->onAttachedToRecyclerView(Landroidx/recyclerview/widget/RecyclerView;)V

    .line 2
    invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView;->getLayoutManager()Landroidx/recyclerview/widget/RecyclerView$LayoutManager;

    move-result-object v0

    instance-of v0, v0, Landroidx/recyclerview/widget/LinearLayoutManager;

    if-eqz v0, :cond_0

    .line 3
    invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView;->getLayoutManager()Landroidx/recyclerview/widget/RecyclerView$LayoutManager;

    move-result-object p1

    check-cast p1, Landroidx/recyclerview/widget/LinearLayoutManager;

    iput-object p1, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter;->i:Landroidx/recyclerview/widget/LinearLayoutManager;

    :cond_0
    return-void
.end method

.method public onBindViewHolder(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)V
    .locals 6

    .line 1
    check-cast p1, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$e;

    .line 2
    invoke-virtual {p0, p2}, Lcom/estrongs/android/pop/app/filetransfer/adapter/AbsSelectFileAdapter;->getItem(I)Lcom/estrongs/fs/g;

    move-result-object v0

    if-nez v0, :cond_0

    return-void

    .line 3
    :cond_0
    iget-object v1, p1, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$e;->b:Landroid/widget/TextView;

    invoke-interface {v0}, Lcom/estrongs/fs/g;->getName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 4
    invoke-static {v0}, Les/rj;->e(Lcom/estrongs/fs/g;)I

    move-result v1

    .line 5
    iget-object v2, p1, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$e;->a:Landroid/widget/ImageView;

    invoke-static {v1, v2, v0}, Lcom/estrongs/android/icon/loader/c;->a(ILandroid/widget/ImageView;Lcom/estrongs/fs/g;)V

    .line 6
    invoke-interface {v0}, Lcom/estrongs/fs/g;->i()Lcom/estrongs/fs/l;

    move-result-object v1

    invoke-virtual {v1}, Lcom/estrongs/fs/l;->b()Z

    move-result v1

    if-eqz v1, :cond_2

    const-string v1, "child_count"

    .line 7
    invoke-interface {v0, v1}, Lcom/estrongs/fs/g;->a(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v2

    if-eqz v2, :cond_1

    .line 8
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-interface {v0, v1}, Lcom/estrongs/fs/g;->a(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v1

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    const-string v1, " "

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v1, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/AbsSelectFileAdapter;->d:Landroid/content/Context;

    const v3, 0x7f1102d6

    invoke-virtual {v1, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    goto :goto_0

    .line 9
    :cond_1
    iget-object v1, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/AbsSelectFileAdapter;->d:Landroid/content/Context;

    const v2, 0x7f110213

    invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    goto :goto_0

    .line 10
    :cond_2
    invoke-interface {v0}, Lcom/estrongs/fs/g;->length()J

    move-result-wide v1

    const-wide/16 v3, -0x1

    cmp-long v5, v1, v3

    if-nez v5, :cond_3

    .line 11
    iget-object v1, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/AbsSelectFileAdapter;->d:Landroid/content/Context;

    const v2, 0x7f11090a

    invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    goto :goto_0

    .line 12
    :cond_3
    invoke-interface {v0}, Lcom/estrongs/fs/g;->length()J

    move-result-wide v1

    invoke-static {v1, v2}, Lcom/estrongs/fs/util/f;->g(J)Ljava/lang/String;

    move-result-object v1

    .line 13
    :goto_0
    iget-object v2, p1, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$e;->c:Landroid/widget/TextView;

    invoke-virtual {v2, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 14
    new-instance v1, Ljava/util/Date;

    invoke-interface {v0}, Lcom/estrongs/fs/g;->lastModified()J

    move-result-wide v2

    invoke-direct {v1, v2, v3}, Ljava/util/Date;-><init>(J)V

    .line 15
    iget-object v2, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter;->k:Ljava/text/SimpleDateFormat;

    invoke-virtual {v2, v1}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v1

    .line 16
    iget-object v2, p1, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$e;->d:Landroid/widget/TextView;

    invoke-virtual {v2, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 17
    iget-object v1, p1, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$e;->f:Landroid/widget/LinearLayout;

    new-instance v2, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$c;

    invoke-direct {v2, p0, v0}, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$c;-><init>(Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter;Lcom/estrongs/fs/g;)V

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 18
    iget-object v1, p1, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$e;->e:Landroid/widget/CheckBox;

    new-instance v2, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$d;

    invoke-direct {v2, p0, v0, p1, p2}, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$d;-><init>(Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter;Lcom/estrongs/fs/g;Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$e;I)V

    invoke-virtual {v1, v2}, Landroid/widget/CheckBox;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 19
    invoke-virtual {p0, v0}, Lcom/estrongs/android/pop/app/filetransfer/adapter/AbsSelectFileAdapter;->a(Lcom/estrongs/fs/g;)Z

    move-result p2

    if-eqz p2, :cond_4

    .line 20
    iget-object p1, p1, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$e;->e:Landroid/widget/CheckBox;

    const/4 p2, 0x1

    invoke-virtual {p1, p2}, Landroid/widget/CheckBox;->setChecked(Z)V

    goto :goto_1

    .line 21
    :cond_4
    iget-object p1, p1, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$e;->e:Landroid/widget/CheckBox;

    const/4 p2, 0x0

    invoke-virtual {p1, p2}, Landroid/widget/CheckBox;->setChecked(Z)V

    :goto_1
    return-void
.end method

.method public bridge synthetic onCreateViewHolder(Landroid/view/ViewGroup;I)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
    .locals 0

    .line 1
    invoke-virtual {p0, p1, p2}, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter;->onCreateViewHolder(Landroid/view/ViewGroup;I)Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$e;

    move-result-object p1

    return-object p1
.end method

.method public onCreateViewHolder(Landroid/view/ViewGroup;I)Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$e;
    .locals 3

    .line 2
    new-instance p2, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$e;

    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/AbsSelectFileAdapter;->d:Landroid/content/Context;

    invoke-static {v0}, Lcom/estrongs/android/pop/esclasses/h;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f0c01d1

    const/4 v2, 0x0

    .line 3
    invoke-virtual {v0, v1, p1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object p1

    invoke-direct {p2, p0, p1}, Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter$e;-><init>(Lcom/estrongs/android/pop/app/filetransfer/adapter/SdcardFileAdapter;Landroid/view/View;)V

    return-object p2
.end method
